﻿<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<table width="100%" border="0" cellspacing="1" cellpadding="1" align="center" class="MainTable">
  <tr> 
    <td width="100%" valign="top" class="Main"> 
      <table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" class="dragTable">
        <tr> 
          <td class="head">
            <h3 class="L"></h3>
            <span class="TAG">查看投票</span>
            <h3 class="R"></h3>
          </td>
        </tr>
        <tr> 
          <td class="middle"> 
            <table width="100%" border="0" cellspacing="0" cellpadding="0" id="vote_js">
              <form name="form1" method="post" action="?app=vote&act=vote&cid={$cid}">
                <tr> 
                  <td class="voteabout" colspan="2">&nbsp;&nbsp;{$about}</td>
                </tr>
<?php
foreach($listdb AS $_key=>$_value){
?>
                <tr class="voteid"> 
                  <td width="37%">
                    <div class="column" style="width:{$widthdb[$_value[id]]}px;height:10px;display:block;background:red url('{SITE_URL}/data/images/bar1.gif');margin:4px;float:left;"></div>
                    <div style="float:left;">{$_value[votenum]}票</div>
                  </td>
                  <td width="63%">&nbsp;{$_value[type]}<a href="{$_value[url]}" target="_blank" title="{$_value[describes]}">{$_value[title]}</a> 
                    ({$_value[votenum]})</td>
                </tr>
<?php
}
?>
                <tr> 
                  <td class="votepost" colspan="2"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                    <input type="submit" name="Submit" title="我要投票"  value="" style="background:url('{SITE_URL}/data/images/vote_sub.gif');width:44px;height:21px;border:0px;">
                  </td>
                </tr>
              </form>
            </table>
          </td>
        </tr>
        <tr>
          <td class="foot">
            <h3 class="L"></h3>
            <h3 class="R"></h3>
          </td>
        </tr>
      </table>
 
    </td>
  </tr>
</table>
